let _env = 'development'
// let _env = 'production'

const apiEnv = uni.getStorageSync('apiEnv')

if (!apiEnv) {
	uni.setStorageSync('apiEnv', _env)
} else {
	_env = apiEnv
}

const BASE_URL_OPTIONS = {
	// development: 'http://localhost:8080', // 本地pc环境
	// development: 'https://10.121.100.185:8080', 
	// development: 'https://10.121.100.185:8080', // 本地真机基座环境
	development: 'https://taichi.chintanneng.com/maximobiz', // app正式环境
	// development: 'http://10.207.15.118:8082/maximobiz', // app打包环境
	production: ''
}

export const env = {
	baseUrl: BASE_URL_OPTIONS[_env]
}